using INTEX.DataBase.Tools;
using ReflectionStudio.Core.Events;
using System;
using System.Data;
using System.Windows;
using System.Windows.Data;
using System.Data.OracleClient;
using ReflectionStudio.Components.UserControls;
using System.ComponentModel;
namespace WPFExcelReport
{ 
    public partial class TABRESERV :DocumentBase
    {  
       VABRESERV vm;
       public TABRESERV()
        {
            InitializeComponent();
            this.Name = "ABRESERV";
            vm = new VABRESERV();
            DataContext = vm;
        }  
        public void Window_Loaded(object sender, RoutedEventArgs e)
        {
            try
            { 
                if (DesignerProperties.GetIsInDesignMode(this))
                    return;            
                if (IsLoaded)
                    return;
                IsLoaded = true;
                vm.LoadEnv();
            }
            catch (Exception ex)
            {
                Tracer.Error(ex.StackTrace, ex);
            }
        }  
    }
} 
 
